diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/bid/[id]/layout.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/bid/[id]/layout.tsx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/app/[lng]/evcp/(evcp)/bid/[id]/layout.tsx b/app/[lng]/evcp/(evcp)/bid/[id]/layout.tsx index 5c4e9b99..80e7f8d2 100644 --- a/app/[lng]/evcp/(evcp)/bid/[id]/layout.tsx +++ b/app/[lng]/evcp/(evcp)/bid/[id]/layout.tsx @@ -2,7 +2,7 @@ import { Metadata } from "next" import { Separator } from "@/components/ui/separator" import { SidebarNav } from "@/components/layout/sidebar-nav" -import { getBiddingById, getBiddingConditions, getActivePaymentTerms, getActiveIncoterms } from "@/lib/bidding/service" +import { getBiddingById, getBiddingConditions } from "@/lib/bidding/service" import { Bidding } from "@/db/schema/bidding" import { Button } from "@/components/ui/button" import { ArrowLeft } from "lucide-react" @@ -31,13 +31,6 @@ export default async function SettingsLayout({ const bidding: Bidding | null = await getBiddingById(idAsNumber) const biddingConditions = await getBiddingConditions(idAsNumber) - // 3) 옵션 데이터 가져오기 - const paymentTermsResult = await getActivePaymentTerms() - const incotermsResult = await getActiveIncoterms() - - const paymentTermsOptions = paymentTermsResult.success && 'data' in paymentTermsResult ? paymentTermsResult.data || [] : [] - const incotermsOptions = incotermsResult.success && 'data' in incotermsResult ? incotermsResult.data || [] : [] - // 3) 사이드바 메뉴 const sidebarNavItems = [ { @@ -81,8 +74,6 @@ export default async function SettingsLayout({ <BiddingConditionsEdit biddingId={bidding.id} initialConditions={biddingConditions} - paymentTermsOptions={paymentTermsOptions} - incotermsOptions={incotermsOptions} /> )} |
